/**
 * Date:2021年9月10日 下午2:53:17
 * Copyright (c) 2021, www.bwbroad.com All Rights Reserved
 */

package org.mengyun.tcctransaction.sample.domain.dto;

import java.io.Serializable;

/**
 * Description: TODO <br/>
 * Date:2021年9月10日 下午2:53:17 <br/>
 * 
 * @author xuejianxin
 */
public class OrderDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5821039054859348249L;
	private Long id;
	private Long userId;
	private Long productId;
	private Integer num;

	public Long getId() {
		return id;
	}

	public Long getUserId() {
		return userId;
	}

	public Integer getNum() {
		return num;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	@Override
	public String toString() {
		return String.format("OrderDto [id=%s, userId=%s, productId=%s, num=%s]", id, userId, productId, num);
	}
	
	

}
